<template>
  <div>
    <van-popup
      :value="show"
      position="left"
      :style="{ height: '100%' ,width:'50%'}"
    />
  </div>
</template>
<script>
 import {mapState} from "vuex"
export default {
   data(){
       return{

       }
   },
   computed:{
       ...mapState(["show"])
   }
}
</script>
<style lang="scss" scoped>
    .van-popup{
        background:rgba(0,0,0,.7);
    }
</style>